package com.recommend.persistence;

import com.recommend.domain.UserDomain;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserDomainMapper {
    int deleteByPrimaryKey(Integer customerId);

    int insert(UserDomain record);

    int insertSelective(UserDomain record);

    UserDomain selectByPrimaryKey(Integer customerId);

    UserDomain selectSelective(UserDomain record);

    List<UserDomain> selectListSelective(UserDomain record);

    List<UserDomain> selectAll();

    int updateByPrimaryKeySelective(UserDomain record);

    int updateByPrimaryKey(UserDomain record);
    
    //@Select("select * from customer where customer.account = #{account} and customer.password = #{password}")
	UserDomain validateLogin(UserDomain record );
}